/**
 * @mbggenerated
 * @author kehui
 */
package com.mall.mbg.dao.write;

import com.mall.pojo.Trade;
import com.mall.pojo.TradeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MBGTradeWriteMapper {
    /* @mbggenerated */
    int countByExample(TradeExample example);

    /* @mbggenerated */
    int deleteByExample(TradeExample example);

    /* @mbggenerated */
    int deleteByPrimaryKey(Long id);

    /* @mbggenerated */
    int insert(Trade record);

    /* @mbggenerated */
    int insertSelective(Trade record);

    /* @mbggenerated */
    List<Trade> selectByExample(TradeExample example);

    /* @mbggenerated */
    Trade selectByPrimaryKey(Long id);

    /* @mbggenerated */
    int updateByExampleSelective(@Param("record") Trade record, @Param("example") TradeExample example);

    /* @mbggenerated */
    int updateByExample(@Param("record") Trade record, @Param("example") TradeExample example);

    /* @mbggenerated */
    int updateByPrimaryKeySelective(Trade record);

    /* @mbggenerated */
    int updateByPrimaryKey(Trade record);
}